<%@ page import="com.neuedu.entity.Emp" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/11/9
  Time: 11:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<%--%>


<%--在作用域中注册一个Bean对象 --%>
<jsp:useBean id="emp"   class="com.neuedu.entity.Emp" scope="page"  >
    <jsp:setProperty name="emp" property="empno" value="6666"/>
    <jsp:setProperty name="emp" property="ename" value="testBean"/>
</jsp:useBean>



empno:<input type='text' name='empno' value="<jsp:getProperty name="emp" property="empno"/>" > <br>
ename:<input type='text' name='empno' value="<jsp:getProperty name="emp" property="ename"/>" > <br>



<!-- 11 11111212121212 -->

</body>
</html>
